package jd.api.request;

import java.io.Serializable;

/**
 * @author xjf
 *
 */
public class CommonRequestEntity implements Serializable {
	private String method;
	private String app_key;
	private String access_token;
	private String timestamp;
	private String v;
	private String format;
	private String param_json;
	
	public CommonRequestEntity() {
	}
	
	public CommonRequestEntity(String method, String app_key,
			String access_token, String timestamp, String v, String format,
			String param_json) {
		this.method = method;
		this.app_key = app_key;
		this.access_token = access_token;
		this.timestamp = timestamp;
		this.v = v;
		this.format = format;
		this.param_json = param_json;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getApp_key() {
		return app_key;
	}
	public void setApp_key(String app_key) {
		this.app_key = app_key;
	}
	public String getAccess_token() {
		return access_token;
	}
	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getV() {
		return v;
	}
	public void setV(String v) {
		this.v = v;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public String getParam_json() {
		return param_json;
	}
	public void setParam_json(String param_json) {
		this.param_json = param_json;
	}

	@Override
	public String toString() {
		return "CommonRequestEntity [method=" + method + ", app_key=" + app_key
				+ ", access_token=" + access_token + ", timestamp=" + timestamp
				+ ", v=" + v + ", format=" + format + ", param_json="
				+ param_json + "]";
	}
	
	
}
